package fun.liuyu2783.dtc.bff.feign;

import fun.liuyu2783.dtc.common.Response;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "dtc-order", url = "127.0.0.1:7090")
public interface OrderFeign {

    @RequestMapping("order/add/{tradeId}")
    Response add(@PathVariable("tradeId") String tradeId);
}